gtk4.git
8 years agoAlways include platform immodules
Matthias Clasen [Fri, 23 Feb 2018 19:59:49 +0000 (14:59 -0500)]
Always include platform immodules

No need to load these as gio modules, we just include
them in libgtk.

8 years agoConvert immodules to use an extension point
Matthias Clasen [Mon, 19 Feb 2018 23:29:00 +0000 (18:29 -0500)]
Convert immodules to use an extension point

Add an extension point called gtk-im-module, which requires
the type GtkIMContext. Simplify the loading by using GIO
infrastructure. Drop the locale filtering for now, I don't
think it is really necessary nowadays.

Convert existing platform modules to gio modules.
Sill to do: Drop the conditional build machinery.
Either always include them, or never.

8 years agoDon't mention papi in options docs
Matthias Clasen [Sat, 24 Feb 2018 06:02:17 +0000 (01:02 -0500)]
Don't mention papi in options docs

The papi print backend has been removed.

8 years agoAdd some debug output to print backend loading
Matthias Clasen [Sat, 24 Feb 2018 05:44:21 +0000 (00:44 -0500)]
Add some debug output to print backend loading

8 years agoREADME.md: Minor updates
Matthias Clasen [Sat, 24 Feb 2018 23:06:51 +0000 (18:06 -0500)]
README.md: Minor updates

8 years agowidget: Don't export propagate_hierarchy_changed
Timm Bäder [Fri, 23 Feb 2018 21:14:38 +0000 (22:14 +0100)]
widget: Don't export propagate_hierarchy_changed

8 years agowidget: Simplify _set_name
Timm Bäder [Fri, 23 Feb 2018 21:08:45 +0000 (22:08 +0100)]
widget: Simplify _set_name

No need for a new_name local variable here.

8 years agobutton: Remove ::event handler
Timm Bäder [Fri, 23 Feb 2018 15:18:11 +0000 (16:18 +0100)]
button: Remove ::event handler

GRAB_BROKEN events cause the ::cancel handler of the gesture to be
emitted, which is where we also call gtk_button_do_release, so this
GtkWidget::event handler is unnecessary.

8 years agowidget: Correct translate_coordinate documentation
Timm Bäder [Fri, 23 Feb 2018 10:34:18 +0000 (11:34 +0100)]
widget: Correct translate_coordinate documentation

We write 0 to dest_x and dest_y nowadays if the two widgets do not have
a common ancestor.

8 years agoUpdate Scottish Gaelic translation
GNOME Translation Robot [Fri, 23 Feb 2018 17:34:56 +0000 (17:34 +0000)]
Update Scottish Gaelic translation

(cherry picked from commit f3f75f62e8e419b2e8cc6fcd243f12ee7b281e7d)

8 years agoUpdate Scottish Gaelic translation
GNOME Translation Robot [Fri, 23 Feb 2018 17:25:08 +0000 (17:25 +0000)]
Update Scottish Gaelic translation

(cherry picked from commit 68eb897900b6ca8b5173c9d21ea122db7694069c)

8 years agoMerge branch 'text-view-measure' into 'master'
Timm Bäder [Fri, 23 Feb 2018 16:03:53 +0000 (16:03 +0000)]
Merge branch 'text-view-measure' into 'master'

text-view: make measure() use the layout height

See merge request GNOME/gtk!37

8 years agovulkan: Don't quiet the compiler
Benjamin Otte [Fri, 23 Feb 2018 12:49:17 +0000 (13:49 +0100)]
vulkan: Don't quiet the compiler

This reverts 76461a8004caf4490f84140b0551d1f5296241f6.

We don't want to quiet the compiler here because new warnings should be
added to the enum the moment they become available.

8 years agovulkan: Add error strings for missing VkResults
Benjamin Otte [Fri, 23 Feb 2018 12:48:20 +0000 (13:48 +0100)]
vulkan: Add error strings for missing VkResults

Also, guard newer error returns with proper #if, so they don't trip up
older Vulkan versions.

8 years agoplacessidebar: Don't create a GtkWindow for drag icons
Timm Bäder [Fri, 23 Feb 2018 10:08:53 +0000 (11:08 +0100)]
placessidebar: Don't create a GtkWindow for drag icons

Just use the drag_widget we create before, since GtkWindow drag icons
are not allowed anymore.

8 years agorange: Fix typo in allocate_trough
Timm Bäder [Fri, 23 Feb 2018 09:59:21 +0000 (10:59 +0100)]
range: Fix typo in allocate_trough

lower - upper results in something negative of course.

8 years agowidget: Improve warning for negative size_allocate dimensions
Timm Bäder [Fri, 23 Feb 2018 09:27:35 +0000 (10:27 +0100)]
widget: Improve warning for negative size_allocate dimensions

Print widget class, css node name and address.

8 years agorange: Fix coord/value translation
Timm Bäder [Fri, 23 Feb 2018 09:42:09 +0000 (10:42 +0100)]
range: Fix coord/value translation

Save the x/y we allocated the slider at, which is different than
the coordinates we get from any of the widget allocation accessors.

8 years agorange: Compute slider allocation in update_initial_slider_position
Timm Bäder [Fri, 23 Feb 2018 07:40:27 +0000 (08:40 +0100)]
range: Compute slider allocation in update_initial_slider_position

Instead of outside at every call-site.

8 years agorange: Remove GtkScale special casing
Timm Bäder [Fri, 23 Feb 2018 06:59:10 +0000 (07:59 +0100)]
range: Remove GtkScale special casing

This is unnecessary these days due to the negative margins of the
slider.

8 years agorange: Simplify allocate_trough
Timm Bäder [Thu, 22 Feb 2018 17:24:06 +0000 (18:24 +0100)]
range: Simplify allocate_trough

8 years agorange: Simplify compute_slider_position
Timm Bäder [Thu, 22 Feb 2018 16:56:49 +0000 (17:56 +0100)]
range: Simplify compute_slider_position

8 years agorange: Fix coordinates in coord_to_value
Timm Bäder [Thu, 22 Feb 2018 16:13:05 +0000 (17:13 +0100)]
range: Fix coordinates in coord_to_value

The given coordinate needs to be trough-relative, since that's what the
slider is relative to. Also use the trough's content size and not the
outer size.

8 years agorange: Remove some unneeded includes
Timm Bäder [Tue, 20 Feb 2018 10:20:12 +0000 (11:20 +0100)]
range: Remove some unneeded includes

8 years agorange: Remove priv pointer
Timm Bäder [Tue, 20 Feb 2018 09:43:15 +0000 (10:43 +0100)]
range: Remove priv pointer

8 years agorange: Stop tracking mouse position
Timm Bäder [Tue, 20 Feb 2018 09:31:20 +0000 (10:31 +0100)]
range: Stop tracking mouse position

We have the mouse position available everywhere we want to use it
anyway, so use that instead.

8 years agorange: Stop tracking mouse location
Timm Bäder [Tue, 20 Feb 2018 09:16:00 +0000 (10:16 +0100)]
range: Stop tracking mouse location

Instead, just use gtk_widget_pick() to get the widget at the pointer
position whenever we need it.

8 years agorange: Don't call calc_slider() on value changes
Timm Bäder [Sat, 17 Feb 2018 14:25:06 +0000 (15:25 +0100)]
range: Don't call calc_slider() on value changes

calc_slider() updates the slider visibility, but that can only change if
the upper or lower change.

8 years agorange: Remove unnecessary queue_draw calls
Timm Bäder [Sat, 17 Feb 2018 08:48:57 +0000 (09:48 +0100)]
range: Remove unnecessary queue_draw calls

8 years agorange: Remove scale special case
Timm Bäder [Sat, 17 Feb 2018 08:29:45 +0000 (09:29 +0100)]
range: Remove scale special case

This is done automatically nowadays since the value is shown in a
widget.

8 years agotext-view: make measure() use the layout height
Peter Bloomfield [Wed, 21 Feb 2018 13:22:42 +0000 (08:22 -0500)]
text-view: make measure() use the layout height

GtkTextView::measure should include the height of the text-layout in its
minimum and natural heights. This fixes scrolling when a text-view has a
scrolled-window ancestor that is not its immediate parent.

8 years agoMerge branch 'gitlab-ci-run-gtk-tests' into 'master'
Emmanuele Bassi [Wed, 21 Feb 2018 12:07:37 +0000 (12:07 +0000)]
Merge branch 'gitlab-ci-run-gtk-tests' into 'master'

gitlab-ci: run parts of the test suite

See merge request GNOME/gtk!22

8 years agobuild: Do not eagerly disable checks on release builds
Emmanuele Bassi [Tue, 20 Feb 2018 13:19:31 +0000 (13:19 +0000)]
build: Do not eagerly disable checks on release builds

Release builds should only disable cast checks, to match what we used
to do back with the Autotools builds.

The Autotools build had an "--enable-debug=no" option, but that was
rarely used; Meson has debug, debugoptimized, release, and plain build
types, but we considered the "release" build types as the old "disable
all debugging code", which is not really accurate.

Disabling assertions and preconditon checks should be left to people
with constrained environments and/or packagers; they are supposed to
use the "plain" build type, and override the CFLAGS themselves.

8 years agobuild: Use get_supported_arguments()
Emmanuele Bassi [Tue, 20 Feb 2018 13:18:28 +0000 (13:18 +0000)]
build: Use get_supported_arguments()

Instead of checking each flag one by one, use the appropriate method of
the Meson compiler object.

8 years agoDrop no-longer existing im modules
Matthias Clasen [Mon, 19 Feb 2018 23:32:50 +0000 (18:32 -0500)]
Drop no-longer existing im modules

This was just dead code. The actual modules have already
been removed.

8 years agogitlab-ci: run parts of the test suite
Christoph Reiter [Sat, 17 Feb 2018 10:55:40 +0000 (11:55 +0100)]
gitlab-ci: run parts of the test suite

This runs the tests in testsuite/{css,gtk,tools}
All others suites have failing tests and need more work.

8 years agoMerge branch 'gtk-debug-flags-with-open-display-master' into 'master'
Matthias Clasen [Mon, 19 Feb 2018 18:35:21 +0000 (18:35 +0000)]
Merge branch 'gtk-debug-flags-with-open-display-master' into 'master'

gtk_init: Fix debug flags handling when a display is already open

See merge request GNOME/gtk!27

8 years agoMerge branch 'tests-set-schema-dir' into 'master'
Matthias Clasen [Mon, 19 Feb 2018 18:28:00 +0000 (18:28 +0000)]
Merge branch 'tests-set-schema-dir' into 'master'

tests: Make GSETTINGS_SCHEMA_DIR point to the compiled schemas in the build dir

See merge request GNOME/gtk!21

8 years agogtk_init: Fix debug flags handling when a display is already open
Christoph Reiter [Sun, 18 Feb 2018 09:34:52 +0000 (10:34 +0100)]
gtk_init: Fix debug flags handling when a display is already open

The code assigning the display to the debug_flags struct gets only
called when the default display changes, which never happens
when there already is one.

This makes it call the change callback in case a display is already
there.

The same fix was applied to gtk3 in !26 where calling gdk_init()
before gtk_init() would trigger this case. With gdk_init() gone
in master this is less likely to happen, but still possible
if gdk_display_open() is called before gtk_init().

See https://gitlab.gnome.org/GNOME/pygobject/issues/166

8 years agoRemove some unused code
Matthias Clasen [Mon, 19 Feb 2018 02:54:43 +0000 (21:54 -0500)]
Remove some unused code

No more callers of _gtk_find_module.

8 years agoRemove unused variable in the CUPS print backend
Emmanuele Bassi [Mon, 19 Feb 2018 02:10:52 +0000 (02:10 +0000)]
Remove unused variable in the CUPS print backend

The variable is a leftover from when we were not using the
G_DEFINE_DYNAMIC_TYPE macro.

8 years agoFix the build in the Cloudprint print backend
Emmanuele Bassi [Mon, 19 Feb 2018 02:08:02 +0000 (02:08 +0000)]
Fix the build in the Cloudprint print backend

Typos and re-declared functions.

8 years agoFix build of the lpr print backend
Emmanuele Bassi [Mon, 19 Feb 2018 02:07:09 +0000 (02:07 +0000)]
Fix build of the lpr print backend

Some copy-and-paste from the CUPS print backend broke the build on
Continuous, where CUPS does not exist.

8 years agobuild: Fix checks on enabled print backends
Emmanuele Bassi [Mon, 19 Feb 2018 02:06:11 +0000 (02:06 +0000)]
build: Fix checks on enabled print backends

The enabled print backends are a boolean, not a 'yes/no' string.

8 years agoFix the build
Matthias Clasen [Sun, 18 Feb 2018 23:14:18 +0000 (18:14 -0500)]
Fix the build

8 years agoConvert print backends to use a GIOExtensionPoint
Matthias Clasen [Sun, 18 Feb 2018 23:00:42 +0000 (18:00 -0500)]
Convert print backends to use a GIOExtensionPoint

Use GIOModule and GIOExtensionPoint. This is the preferred
way to define extensions these days, instead of manually
implementing type modules.

8 years agoMove the mixed module check function
Matthias Clasen [Sun, 18 Feb 2018 14:31:22 +0000 (09:31 -0500)]
Move the mixed module check function

This is only called in one place, move the function there.

8 years agoRemove gtkmodules.h
Matthias Clasen [Sun, 18 Feb 2018 14:02:05 +0000 (09:02 -0500)]
Remove gtkmodules.h

We don't use these definitions anymore.

Also clean up the docs wrt to modules.

8 years agoStop loading modules
Matthias Clasen [Sun, 18 Feb 2018 13:50:45 +0000 (08:50 -0500)]
Stop loading modules

We no longer look at the GTK_MODULES environment variables.
With this commit, we stop loading general-purpose modules
altogether.

8 years agoStop using settings for modules
Matthias Clasen [Sun, 18 Feb 2018 13:31:31 +0000 (08:31 -0500)]
Stop using settings for modules

The Wayland backend was already not supporting this setting
since it is an XSetting that is not backed by a GSetting.

Drop this setting altogether, since we will stop supporting
general-purpose modules.

8 years agoMerge branch 'master' into 'master'
Christoph Reiter [Sun, 18 Feb 2018 10:48:23 +0000 (10:48 +0000)]
Merge branch 'master' into 'master'

Fix annotation for gtk_tree_view_is_blank_at_pos()

See merge request GNOME/gtk!13

8 years agoMerge branch 'master' into 'master'
Timm Bäder [Sun, 18 Feb 2018 08:08:47 +0000 (08:08 +0000)]
Merge branch 'master' into 'master'

gtkprintbackendcups.c: fix \n at end of a debugging note

See merge request GNOME/gtk!25

8 years agoTextLayout: Clarify implementation of special case
Daniel Boles [Wed, 1 Mar 2017 20:10:55 +0000 (20:10 +0000)]
TextLayout: Clarify implementation of special case

This exists to exit early for invisible lines. It attempts to use the
LineDisplay’s direction to create a corresponding PangoLayout. However,
the dir is not yet set by this point, & the display was new0()d, so its
dir is always 0 == TEXT_DIR_NONE. Thus, we always create an LTR layout.

Whatever the original intent, this outcome seems to be OK, so let’s make
the code say what it means, rather than using a misleading conditional.

https://bugzilla.gnome.org/show_bug.cgi?id=779099

8 years agocalendar: Avoid warnings for new "%OB" format
Matthias Clasen [Sat, 17 Feb 2018 22:03:49 +0000 (17:03 -0500)]
calendar: Avoid warnings for new "%OB" format

Use the same code we have in gtk-3-22 to deal with strftime()
not supporting %OB, and avoid compiler warnings for non-literal
format strings.

8 years agogtkprintbackendcups.c: fix \n at end of a debugging note
Ivan Zakharyaschev [Sat, 17 Feb 2018 03:19:56 +0000 (06:19 +0300)]
gtkprintbackendcups.c: fix \n at end of a debugging note

(cherry picked from commit 7461ceebe34bfc6f882145e89e1ba2f187d08303)
(cherry picked from commit d2a4febfa75182d36ffd48eb05e9054e8bf9cf53)

8 years agoUpdate Polish translation
Piotr Drąg [Sat, 17 Feb 2018 16:22:50 +0000 (17:22 +0100)]
Update Polish translation

8 years agotests: Make GSETTINGS_SCHEMA_DIR point to the compiled schemas in the build dir
Christoph Reiter [Sat, 17 Feb 2018 08:48:12 +0000 (09:48 +0100)]
tests: Make GSETTINGS_SCHEMA_DIR point to the compiled schemas in the build dir

With autotools the schemas were compiled into each test suite directory
and the tests set GSETTINGS_SCHEMA_DIR to the test build directory.

With meson's gnome.compile_schemas() we can not define a target directory
so just make sure it is built in the gtk directory and set GSETTINGS_SCHEMA_DIR
to the gtk build directory when running the tests.

This makes the gtk+:gtk suite pass when no gtk is installed on the system.

8 years agovulkan: Keep track of command buffers
Benjamin Otte [Sat, 17 Feb 2018 06:14:04 +0000 (07:14 +0100)]
vulkan: Keep track of command buffers

Fixes a rather large memleak.

8 years agocssimage: Get rid of draw vfunc
Benjamin Otte [Wed, 14 Feb 2018 01:30:42 +0000 (02:30 +0100)]
cssimage: Get rid of draw vfunc

All remaining users of that vfunc now implement snapshot using cairo
render nodes (win32 and radial).

Also, GtkCssImageClass.snapshot is now NULL, so if a subclass doesn't
implement it, it will now crash.
Previously it would try to call the draw vfunc.

8 years agoadwaita: Move searchbar style to box child
Timm Bäder [Fri, 16 Feb 2018 20:19:04 +0000 (21:19 +0100)]
adwaita: Move searchbar style to box child

This way, we avoid a 1px border at the bottom of the actual searchbar
widget and move it instead to the child of a GtkRevealer. Since we can
now use widgets with 0px height, we finally get rid of the 1px border
that was drawn even if the searchbar child was hidden.

8 years agogdk/wayland: Use GDK_AVAILABLE_IN_ALL
Carlos Garnacho [Fri, 16 Feb 2018 18:31:13 +0000 (19:31 +0100)]
gdk/wayland: Use GDK_AVAILABLE_IN_ALL

GDK_AVAILABLE_IN_4_0 makes it unavailable till 4.0, but we want
it now.

8 years agogtksettings: Remove leftover code
Carlos Garnacho [Fri, 16 Feb 2018 18:25:15 +0000 (19:25 +0100)]
gtksettings: Remove leftover code

The immodule variable is unused

8 years agogl renderer: Increase offscreen texture size
Timm Bäder [Fri, 16 Feb 2018 17:00:06 +0000 (18:00 +0100)]
gl renderer: Increase offscreen texture size

This fixes blurry checkbutton marks in hidpi setups, but breaks button
hover effects. That's another problem.

8 years agotextview: Implement measure()
Timm Bäder [Fri, 16 Feb 2018 16:39:02 +0000 (17:39 +0100)]
textview: Implement measure()

Don't use the current layout size as minimum size anymore, that doesn't
make sense. Also move the code from size_request() from gtk2 into the
now current measure() function.

8 years agoUpdate POTFILES.in
Piotr Drąg [Fri, 16 Feb 2018 16:14:08 +0000 (17:14 +0100)]
Update POTFILES.in

8 years agoMerge branch 'quartz-symbol-not-found' into 'master'
Emmanuele Bassi [Fri, 16 Feb 2018 12:41:33 +0000 (12:41 +0000)]
Merge branch 'quartz-symbol-not-found' into 'master'

gdkquartz.h: export pasteboard functions

Closes #32

See merge request GNOME/gtk!19

8 years agogdkquartz.h: export pasteboard functions
Tom Schoonjans [Fri, 16 Feb 2018 12:16:02 +0000 (12:16 +0000)]
gdkquartz.h: export pasteboard functions

8 years agoDrop unmaintained print backends
Matthias Clasen [Fri, 16 Feb 2018 02:53:51 +0000 (21:53 -0500)]
Drop unmaintained print backends

The papi and test printbackends have not seen any
maintenance in a long time.

8 years agoUpdate POTFILES.in
Piotr Drąg [Thu, 15 Feb 2018 23:24:59 +0000 (00:24 +0100)]
Update POTFILES.in

8 years agoFix the build
Matthias Clasen [Thu, 15 Feb 2018 23:22:53 +0000 (18:22 -0500)]
Fix the build

This was a mis-merge.

8 years agoDrop non-backend immodules
Matthias Clasen [Sat, 11 Nov 2017 01:02:43 +0000 (20:02 -0500)]
Drop non-backend immodules

These are not well integrated, and have not seen any
maintenance in many years.

8 years agogtkbookmarksmanager: Use GTK+ 3.0's bookmarks file
Bastien Nocera [Thu, 15 Feb 2018 12:29:38 +0000 (13:29 +0100)]
gtkbookmarksmanager: Use GTK+ 3.0's bookmarks file

There's no reason to use a separate file until the format of the file
changes though, as this just means that GTK+ 3.x and GTK+ 4.x
applications would end up showing different bookmarks in the file
chooser.

https://bugzilla.gnome.org/show_bug.cgi?id=793425

8 years agoMerge branch 'ci-cache-subprojects' into 'master'
Emmanuele Bassi [Thu, 15 Feb 2018 12:58:56 +0000 (12:58 +0000)]
Merge branch 'ci-cache-subprojects' into 'master'

gitlab-ci: cache meson subprojects

See merge request GNOME/gtk!17

8 years agogitlab-ci: cache meson subprojects
Christoph Reiter [Thu, 15 Feb 2018 12:37:02 +0000 (13:37 +0100)]
gitlab-ci: cache meson subprojects

This saves another 30sec here and reducing clone operations on the
gnome gitlab instance is probably a good idea as well.

8 years agoUpdate the wrap file for GLib
Emmanuele Bassi [Thu, 15 Feb 2018 11:28:43 +0000 (11:28 +0000)]
Update the wrap file for GLib

Point to the right repo, now that GLib is on GitLab, instead of relying
on the redirection.

8 years agogtkplacessidebar: Rename favorites to starred
Carlos Soriano [Thu, 15 Feb 2018 09:10:18 +0000 (10:10 +0100)]
gtkplacessidebar: Rename favorites to starred

To have more consistency in the name. The same was done in Nautilus in
commit https://gitlab.gnome.org/GNOME/nautilus/commit/27b039b37c1149fc8abbef6a683dd939e6f2bf1f.

8 years agoUpdate POTFILES.in
Piotr Drąg [Thu, 15 Feb 2018 03:29:36 +0000 (04:29 +0100)]
Update POTFILES.in

8 years agoMerge branch 'master' into 'master'
Matthias Clasen [Thu, 15 Feb 2018 03:07:54 +0000 (03:07 +0000)]
Merge branch 'master' into 'master'

calendar: Use the new "%OB" format in strftime()

Closes #9

See merge request GNOME/gtk!10

8 years agoMerge branch 'wip/issue-21' into 'master'
Matthias Clasen [Thu, 15 Feb 2018 03:06:28 +0000 (03:06 +0000)]
Merge branch 'wip/issue-21' into 'master'

Mention gtk_button_set_image() and friends in the migration docs

Closes #21

See merge request GNOME/gtk!6

8 years agoMerge branch 'wip/carlosg/imwayland' into 'master'
Matthias Clasen [Thu, 15 Feb 2018 03:01:43 +0000 (03:01 +0000)]
Merge branch 'wip/carlosg/imwayland' into 'master'

modules: Add wayland IM implementation

See merge request GNOME/gtk!4

8 years agoMerge branch 'issue-2' into 'master'
Matthias Clasen [Thu, 15 Feb 2018 02:58:16 +0000 (02:58 +0000)]
Merge branch 'issue-2' into 'master'

Update the configuration options

Closes #2

See merge request GNOME/gtk!11

8 years agoMerge branch 'gitlab-ci-docker' into 'master'
Emmanuele Bassi [Wed, 14 Feb 2018 23:38:58 +0000 (23:38 +0000)]
Merge branch 'gitlab-ci-docker' into 'master'

Add gitlab-ci support using a prebuilt docker image

See merge request GNOME/gtk!7

8 years agoAdd gitlab-ci support using a prebuilt docker image
Christoph Reiter [Tue, 13 Feb 2018 16:21:18 +0000 (17:21 +0100)]
Add gitlab-ci support using a prebuilt docker image

8 years agoRewrite toarray Perl script to Python
Emmanuele Bassi [Wed, 14 Feb 2018 15:51:45 +0000 (15:51 +0000)]
Rewrite toarray Perl script to Python

We don't need to shell out to Perl to generate a C array out of a text
file.

8 years agobuild: Rename last 'enable' options
Emmanuele Bassi [Wed, 14 Feb 2018 14:07:22 +0000 (14:07 +0000)]
build: Rename last 'enable' options

Drop the 'enable-' prefix to conform to the best practices for naming
configuration options in Meson.

8 years agobuild: Rename GDK backend options
Emmanuele Bassi [Wed, 14 Feb 2018 14:04:04 +0000 (14:04 +0000)]
build: Rename GDK backend options

Drop the 'enable-' prefix, and always enable all platform-specific
backends. We can disable them depending on the platform. This way,
the documentation printed by `meson configure` remains accurate.

8 years agobuild: Coalesce print backends options into one
Emmanuele Bassi [Wed, 14 Feb 2018 13:55:32 +0000 (13:55 +0000)]
build: Coalesce print backends options into one

Instead of having separate options for each print backend, we can use
the same approach as the input method modules: a single option, with a
comma-separated list of print backends.

8 years agobuild: Rename the 'enable-colord' option
Emmanuele Bassi [Wed, 14 Feb 2018 13:45:48 +0000 (13:45 +0000)]
build: Rename the 'enable-colord' option

Drop the 'enable-' prefix, to follow the naming best practices for Meson
configuration options.

8 years agobuild: Rename 'with-included-immodules' option
Emmanuele Bassi [Wed, 14 Feb 2018 13:43:19 +0000 (13:43 +0000)]
build: Rename 'with-included-immodules' option

We can call it 'included-immodules', and simplify its logic by always
attempting to split the value, to avoid turning an array into a string
and then back into an array again.

8 years agobuild: Rename 'disable-modules' option
Emmanuele Bassi [Wed, 14 Feb 2018 13:35:38 +0000 (13:35 +0000)]
build: Rename 'disable-modules' option

We should not have 'disable' in the name, to conform with the Meson best
practices for boolean options.

8 years agoFix annotation for gtk_tree_view_is_blank_at_pos()
Gniourf [Wed, 14 Feb 2018 12:51:00 +0000 (13:51 +0100)]
Fix annotation for gtk_tree_view_is_blank_at_pos()

The annotation (allow-none) is wrong. Since
gtk_tree_view_is_blank_at_pos() also calls
gtk_tree_view_get_path_at_pos(), the same fields should have the same
annotations.

8 years agox11: Do not include fallback-c89.c
Emmanuele Bassi [Wed, 14 Feb 2018 11:15:31 +0000 (11:15 +0000)]
x11: Do not include fallback-c89.c

We're definitely using a C99-compliant toolchain, if we're building the
X11 backend.

8 years agocalendar: Use the new "%OB" format in strftime()
Rafal Luzynski [Sat, 10 Feb 2018 13:07:56 +0000 (14:07 +0100)]
calendar: Use the new "%OB" format in strftime()

Due to the recent changes introduced in glibc 2.27 "%OB" is the
correct format to obtain a month name as used in the calendar
header.  The same rule has been working in BSD family (including
OS X) since 1990s.  This change is simple but makes GTK+ 4.x require
glibc >= 2.27.  If this requirement cannot be fulfilled then we must
cherry-pick the full commit cbf118c from gtk-3-22 branch.

Closes: #9
8 years agoUpdate Estonian translation
Mart Raudsepp [Tue, 13 Feb 2018 22:20:41 +0000 (22:20 +0000)]
Update Estonian translation

(cherry picked from commit 97f3a4397a0cc4bb83d50edab9411d5bcfd8eaea)

8 years agoUpdate Estonian translation
Mart Raudsepp [Tue, 13 Feb 2018 20:14:22 +0000 (20:14 +0000)]
Update Estonian translation

(cherry picked from commit af2d0397171005342ac6f9d42d9febf981145849)

8 years agocssprovider: Remove priv pointer
Timm Bäder [Tue, 13 Feb 2018 17:31:35 +0000 (18:31 +0100)]
cssprovider: Remove priv pointer

8 years agomenu: Remove an incorrect comment
Timm Bäder [Mon, 12 Feb 2018 10:13:17 +0000 (11:13 +0100)]
menu: Remove an incorrect comment

They are not missing, they are snapshot when chaining up.

8 years agoMerge branch 'bump-glib-dep' into 'master'
Emmanuele Bassi [Tue, 13 Feb 2018 17:03:08 +0000 (17:03 +0000)]
Merge branch 'bump-glib-dep' into 'master'

meson: Require glib 2.55.0

See merge request GNOME/gtk!8

8 years agomeson: Require glib 2.55.0
Christoph Reiter [Tue, 13 Feb 2018 17:00:27 +0000 (18:00 +0100)]
meson: Require glib 2.55.0

gtk+ has started using g_file_load_bytes() which is available
since glib 2.55.0

8 years agomodules: Add wayland IM implementation
Carlos Garnacho [Thu, 30 Nov 2017 17:53:26 +0000 (18:53 +0100)]
modules: Add wayland IM implementation

This IM context implementation goes through the gtk-text-input protocol,
leaving up to the compositor the actual interaction with IM engines.